function cl(u,i,t,s) {if(document.images){var z="";if(u.href)z="&url="+encodeURI(u.href);new Image().src="/click.php?table="+encodeURI(t)+"&id="+encodeURI(i)+z+"&sig="+s;}else{u.href="/click.php?table="+encodeURI(t)+"&id="+encodeURI(i)+"&url="+encodeURI(u.href)+"&sig="+s;u.onmousedown="";}return true;}
function FlashRequest() {alert('请点击左下方的播放按钮');}
function needHelp(img,txt) {if (_islocal) return;var helptxt=encodeURIComponent(txt?txt:'有问题？请联系在线客服');document.write('<scr' + 'ipt type="text/javascript" src="http://loopo.cn/livehelp/js/status_image.php?base_url=http://loopo.cn/livehelp&amp;l=avenger&amp;x=1&amp;deptid=1&amp;text=' + helptxt + '"></scr' + 'ipt>');}
function imgcopy(evt) {evt = ( evt ) ? evt : ((window.event) ? event : null);if (typeof evt.button != 'undefined' && evt.button > 1) {alert('请尊重乐铺的版权！谢谢！');}}

var isIE4, isMac, isNav6;
if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
  isIE  = (navigator.appName.indexOf("Microsoft") != -1) ? true : false
  isMac = (navigator.platform.indexOf("Mac") != -1) ? true : false
  isPNG = (isIE && ! isMac) ? false : true
}

function login(obj) {
    Lightview.show(obj);
    return false;
}
